<el-form ref="form" :model="form" :rules="rules" label-width="80px">
    <el-row :gutter="10">
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="故障分类" prop="MMRZ001">
                <el-input v-model="form.MMRZ001">
                    <i class="el-icon-search el-input__icon" @click="openFaultWindow" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="故障说明">
                <el-input v-model="form.MMRZ001_NAME" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="故障描述" prop="MMRZ002">
                <el-input v-model="form.MMRZ002" type="textarea">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="故障原因" prop="MMRZ003">
                <el-input v-model="form.MMRZ003" type="textarea">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="处理方案" prop="MMRZ004">
                <el-input v-model="form.MMRZ004" type="textarea">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="技术人员" prop="MMRZ006">
                <el-input v-model="form.MMRZ006_NAME">
                    <i class="el-icon-search el-input__icon" @click="openStaffWindow" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="手机号码" prop="MMRZ007">
                <el-input v-model="form.MMRZ007">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="归属部门" prop="MMRZ008">
                <el-input v-model="form.MMRZ008_NAME">
                    <i class="el-icon-search el-input__icon" @click="openOrganizeWindow" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="有效否" prop="MMRZACTI">
                <el-select v-model="form.MMRZACTI">
                    <el-option v-for="item in selectOptions.sys_y_n" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="故障图片" style="float: left;margin-left:0px;">
                <el-upload
                        ref="upload"
                        list-type="picture-card"
                        limit="1"
                        :action="uploadUrl"
                        :file-list="imageList"
                        :before-upload="beforeUpload"
                        :on-success="successUpload"
                        :auto-upload="true">
                    <i class="el-icon-plus"></i>
                </el-upload>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
            <el-button type="warning" icon="icon iconfont icon-21" size="mini" @click="sure">保存</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/crm/gwai820_edit"], $.noop);
</script>